package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 推送配置对象 basicPushConfig
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class BasicPushConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 推送配置编号 */
    private Long pushConfigId;

    /** 推给哪个app */
    @Excel(name = "推给哪个app")
    private Long appId;

    /** 推送内容 */
    @Excel(name = "推送内容")
    private String pushContent;

    /** 推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushTime;

    /** 推送状态 */
    @Excel(name = "推送状态")
    private String pushStatus;

    /** 推送频率 */
    @Excel(name = "推送频率")
    private Long pushFrequency;

    /** 推送目标 */
    @Excel(name = "推送目标")
    private String pushTarget;

    /** 目标用户ID */
    @Excel(name = "目标用户ID")
    private String targetUserIds;

    /** 目标用户组ID */
    @Excel(name = "目标用户组ID")
    private Long targetGroupId;

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String errorMessage;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setPushConfigId(Long pushConfigId) 
    {
        this.pushConfigId = pushConfigId;
    }

    public Long getPushConfigId() 
    {
        return pushConfigId;
    }
    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }
    public void setPushContent(String pushContent) 
    {
        this.pushContent = pushContent;
    }

    public String getPushContent() 
    {
        return pushContent;
    }
    public void setPushTime(Date pushTime) 
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime() 
    {
        return pushTime;
    }
    public void setPushStatus(String pushStatus) 
    {
        this.pushStatus = pushStatus;
    }

    public String getPushStatus() 
    {
        return pushStatus;
    }
    public void setPushFrequency(Long pushFrequency) 
    {
        this.pushFrequency = pushFrequency;
    }

    public Long getPushFrequency() 
    {
        return pushFrequency;
    }
    public void setPushTarget(String pushTarget) 
    {
        this.pushTarget = pushTarget;
    }

    public String getPushTarget() 
    {
        return pushTarget;
    }
    public void setTargetUserIds(String targetUserIds) 
    {
        this.targetUserIds = targetUserIds;
    }

    public String getTargetUserIds() 
    {
        return targetUserIds;
    }
    public void setTargetGroupId(Long targetGroupId) 
    {
        this.targetGroupId = targetGroupId;
    }

    public Long getTargetGroupId() 
    {
        return targetGroupId;
    }
    public void setErrorMessage(String errorMessage) 
    {
        this.errorMessage = errorMessage;
    }

    public String getErrorMessage() 
    {
        return errorMessage;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pushConfigId", getPushConfigId())
            .append("appId", getAppId())
            .append("pushContent", getPushContent())
            .append("pushTime", getPushTime())
            .append("pushStatus", getPushStatus())
            .append("pushFrequency", getPushFrequency())
            .append("pushTarget", getPushTarget())
            .append("targetUserIds", getTargetUserIds())
            .append("targetGroupId", getTargetGroupId())
            .append("errorMessage", getErrorMessage())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .toString();
    }
}
